/**
 * 留言展示的样式
 */

.msg-show > .item {
    margin: 20px 0;
    border-bottom: dashed 1px #DDECF1;
}

.msg-show > .item a {
    color: #333;
}

.msg-show > .item > .top > b {
    display: inline-block;
    margin-right: 20px;
    font-size: 15px;
}

.msg-show > .item > .top > a {
    float: right;
}

.msg-show > .item > .content {
    padding: 10px 0;
}

.msg-show > .item blockquote {
    border-left: solid 4px #e2e2e2;
    padding: 0 0 0 14px;
    margin: 0 0 14px 0;
    color: #666;
}

.msg-show > .item blockquote > pre {
    font-weight: bold;
    margin-bottom: 5px;
}

/**
 * 留言分页样式
 */
.msg-page {
    margin: 10px 0;
    overflow-y: hidden;
}

.msg-page > ul {
    float: right;
    overflow-y: hidden;
    margin: 0;
    padding: 0;
}

.msg-page > ul > li {
    list-style: none outside none;
    float: left;
}

.msg-page > ul > li span {
    line-height: 25px;
    font-size: 14px;
    padding-right: 4px;
}

.msg-page > ul > li > a {
    display: inline-block;
    padding: 0 8px;
    height: 25px;
    line-height: 25px;
    margin-right: 4px;
    background-color: #DDECF1;
    text-decoration: none;
    text-align: center;
    font-weight: bolder;
    font-size: 14px;
    color: #0d0d0d;
}

.msg-page > ul > li > a:hover {
    color: #ccc;
}

/**
 * 留言输入的样式
 */

.msg-input > p {
    padding: 10px 0;
    border-bottom: solid 1px #DDECF1;
    font-size: 20px;
    color: #444;
    letter-spacing: 1px;
}

.msg-input dd {
    padding: 0;
    margin: 2px 0 8px 0;
}

.msg-input dd > textarea,
.msg-input dd > input {
    width: 400px;
    border: solid 1px #999;
    padding: 2px;
}

.msg-input dd > input {
    height: 24px;
}

.msg-input dd > .btn {
    display: inline-block;
    background-color: #fff;
    border: solid 1px #999;
    width: 100px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    color: #333;
}

/**
 * 引用预览
 */

.msg-input .quote-preview {
    margin: 10px 0;
    position: relative;
}

.msg-input .quote-preview > .close:hover {
    color: #f00;
}

.msg-input .quote-preview > .close {
    color: #333;
    font-size: 21px;
    position: absolute;
    top: 0;
    right: 0;
}

.msg-input .quote-preview > blockquote {
    border-left: solid 4px #e2e2e2;
    padding: 0 0 0 14px;
    margin: 0;
    color: #666;
}

.msg-input .quote-preview > blockquote > pre {
    font-weight: bold;
    margin-bottom: 5px;
}
